package com.ruoyi.hospital.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 套餐信息对象 yl_package
 * 
 * @author ruoyi
 * @date 2022-02-16
 */
public class YlPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐ID */
    private Long packageId;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String name;

    /** 套餐图片 */
    @Excel(name = "套餐图片")
    private String picture;

    /** 类型ID */
    @Excel(name = "类型ID")
    private Long packageTypeId;

    /** 院区ID */
    @Excel(name = "院区ID")
    private Long areaId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private String medicalItemsIds;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal price;

    /** 套餐描述 */
    @Excel(name = "套餐描述")
    private String description;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String notice;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setPackageTypeId(Long packageTypeId) 
    {
        this.packageTypeId = packageTypeId;
    }

    public Long getPackageTypeId() 
    {
        return packageTypeId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setMedicalItemsIds(String medicalItemsIds) 
    {
        this.medicalItemsIds = medicalItemsIds;
    }

    public String getMedicalItemsIds() 
    {
        return medicalItemsIds;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setNotice(String notice) 
    {
        this.notice = notice;
    }

    public String getNotice() 
    {
        return notice;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packageId", getPackageId())
            .append("name", getName())
            .append("picture", getPicture())
            .append("packageTypeId", getPackageTypeId())
            .append("areaId", getAreaId())
            .append("medicalItemsIds", getMedicalItemsIds())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("notice", getNotice())
            .append("state", getState())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
